<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<%
	System.out.println("进入hello.jsp");
	//所有路径从根路径开始，相对路径失效了
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + 	request.getServerPort() + request.getContextPath() + "/";
%>
<base href="<%=basePath%>">
<meta charset="UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="css/ceshi.css">
<script src="js/jquery.min.js"></script>
</head>
<body>
	<h1>js,css,图片等的测试</h1>
	<img alt="my image caption" src="imges/hh.png">
	
	<script>
		$(function(){
			alert("js ok");
		})
	</script>
</body>
</html>